var setting = {
	view : {
		selectedMulti : false
	}
};
var zTreeNodes = [ {
	"name" : "网站导航",
	open : true,
	children : [ {
		"name" : "google",
		"url" : "http://g.cn",
		"target" : "_blank"
	}, {
		"name" : "baidu",
		"url" : "http://baidu.com",
		"target" : "_blank"
	}, {
		"name" : "sina",
		"url" : "http://www.sina.com.cn",
		"target" : "_blank"
	} ]
} ];

$(document).ready(function() {
	var height = window.innerHeight - 160;
	var width = window.innerWidth;
	$("#c_Left").css("height", height);
	$("#c_Right").css("height", height);
	$("#c_Right").css("width", width - 280);
	loadRootFile();
});
/**
 * 加载根目录
 */
function loadRootFile(){
	$.post("./findRootFile",null,function(data){
		
	});
	zTreeObj = $.fn.zTree.init($("#fileTree"), setting, zTreeNodes);

}